home *** CD-ROM | disk | FTP | other *** search
- -- card: 22749 from stack: in
- -- bmap block id: 28703
- -- flags: 4000
- -- background id: 2604
- -- name: SPORTING/GOODS
- ----- HyperTalk script -----
- on openCard
- global inventory
- global pocketbook
- put inventory into background field "ShowMe"
- put pocketbook into background field "CountMe"
- end openCard
-
-
- -- part 1 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=345 top=81 right=103 bottom=365
- -- title width / last selected line: 0
- -- icon id / first selected line: 29019 / 29019
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: N/TO/OUT/SPORT
- ----- HyperTalk script -----
- on mouseUp
- go to card id 11490
- end mouseUp
-
-
-
-
- -- part 2 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=97 top=229 right=263 bottom=118
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: GET/PARKA
- ----- HyperTalk script -----
- on mouseUp
- global pocketbook
- global inventory
- if pocketbook >24 then
- subtract 25 from pocketbook
- put ", parka" after inventory
- put "You buy a warm parka." into Msg
- wait 3 seconds
- doMenu "Message"
- put inventory into background field "ShowMe"
- put pocketbook into background field "CountMe"
- else
- put "Deposit 25 Credits." into Msg
- wait 3 seconds
- doMenu "Message"
- end if
- end mouseUp
-
-
-
- -- part 3 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=192 top=79 right=111 bottom=211
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: GET/RACKET
- ----- HyperTalk script -----
- on mouseUp
- global pocketbook
- global inventory
- if pocketbook >19 then
- subtract 20 from pocketbook
- put ", tennis racket" after inventory
- put "You get a spiffy tennis racket." into Msg
- wait 3 seconds
- doMenu "Message"
- put inventory into background field "ShowMe"
- put pocketbook into background field "CountMe"
- else
- put "Deposit 20 Credits." into Msg
- wait 3 seconds
- doMenu "Message"
- end if
- end mouseUp
-
-
-
- -- part 4 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=283 top=154 right=189 bottom=302
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: GET/BAT
- ----- HyperTalk script -----
- on mouseUp
- global pocketbook
- global inventory
- if pocketbook >19 then
- subtract 20 from pocketbook
- put ", fungicide" after inventory
- put "You get a can of fungicide." into Msg
- wait 3 seconds
- doMenu "Message"
- put inventory into background field "ShowMe"
- put pocketbook into background field "CountMe"
- else
- put "Deposit 20 Credits." into Msg
- wait 3 seconds
- doMenu "Message"
- end if
- end mouseUp
-
-
-
- -- part contents for background part 6
- ----- text -----
- You are carrying: empty multicorder
-
- -- part contents for background part 8
- ----- text -----
- 0